/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package diet.XMLUtils;

import diet.dto.DishDTO;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author nhunhu
 */

@XmlAccessorType(XmlAccessType.FIELD)

@XmlRootElement(name="list")
public class ListDietInfo {
    @XmlElement(required = true)
    private List<DietInfo> dietInfo;

    public List<DietInfo> getDietInfo() {
        if (dietInfo == null) {
            dietInfo = new ArrayList<DietInfo>();
        }
        return this.dietInfo;
    }
}
